<?php
/**
 * Create by Phpstorm
 * User: Peco
 * Date: 2019/12/11
 * Time: 22:43
 */


namespace App\Http\Transformers\Goods;


use App\Models\GoodsCategory;
use League\Fractal\TransformerAbstract;

class GoodsCategoryDetailTransformer extends TransformerAbstract
{
    public function transform(GoodsCategory $goodsCategory)
    {
        return $goodsCategory->toArray();
    }
}
